package lesson1_20.lesson9;

public class TestDemo {
    public static void main(String[] args) {
        Point point = new Point();
        point.setX(10);
        point.setY(20);

        System.out.println(point);

        point.setX(10.13);
        point.setY(20.33);

        System.out.println(point);

        point.setX("东经10.13度");
        point.setY("北纬20.33度");

        System.out.println(point);
    }
}
